/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sorting_searching;

/**
 *
 * @author Administrator
 */
public interface SIndexInterface {

    /**
     * This method is used to get endIndex
     * @return endIndex
     */
    int getEnd();

    /**
     * This method is used to get startIndex
     * @return startIndex
     */
    int getStart();

    /**
     * This method is used to set endIndex
     * @param end new endIndex
     */
    void setEnd(int end);

    /**
     * This method is used to set startIndex
     * @param start new startIndex
     */
    void setStart(int start);

    /**
     * This method is used to set values of start and end index in same tome
     * @param newStart new start index
     * @param newEnd new end index
     */
    void setValues(int newStart, int newEnd);

}
